package com.site.wisdom_construction.entity.safetyModule;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-07-21 
 */
@ApiModel (value ="劳务人员安全隐患记录表实体类", description="SafetyDangerRecordLabour")
public class SafetyDangerRecordLabour {
	/**
	 * 劳务人员安全隐患记录ID
	 */
   	@ApiModelProperty(value = "劳务人员安全隐患记录ID", name = "id")
	private Integer id;

	/**
	 * 项目ID
	 */
   	@ApiModelProperty(value = "项目ID", name = "projectId")
	private Integer projectId;

	/**
	 * 劳务工人ID
	 */
   	@ApiModelProperty(value = "劳务工人ID", name = "workerId")
	private Integer workerId;

	/**
	 * 劳务工人姓名
	 */
	@ApiModelProperty(value = "劳务工人姓名", name = "workerName")
	private String workerName;

	/**
	 * 安全隐患类型ID
	 */
   	@ApiModelProperty(value = "安全隐患类型ID", name = "safetyTypeId")
	private Integer safetyTypeId;

	/**
	 * 安全隐患类型名称
	 */
	@ApiModelProperty(value = "安全隐患类型名称", name = "safetyTypeName")
	private String safetyTypeName;

	/**
	 * 劳务队伍ID
	 */
   	@ApiModelProperty(value = "劳务队伍ID", name = "subcontractorsId")
	private Integer subcontractorsId;

	/**
	 * 劳务队伍名称
	 */
	@ApiModelProperty(value = "劳务队伍名称", name = "subcontractorsName")
	private String subcontractorsName;

	/**
	 * 班组ID
	 */
   	@ApiModelProperty(value = "班组ID", name = "teamId")
	private Integer teamId;

	/**
	 * 班组名称
	 */
	@ApiModelProperty(value = "班组名称", name = "teamName")
	private String teamName;

	/**
	 * 巡检点ID
	 */
   	@ApiModelProperty(value = "巡检点ID", name = "safetyInspectionId")
	private Integer safetyInspectionId;

	/**
	 * 巡检点名称
	 */
	@ApiModelProperty(value = "巡检点名称", name = "safetyInspectionName")
	private String safetyInspectionName;

	/**
	 * 安全隐患标题
	 */
   	@ApiModelProperty(value = "安全隐患标题", name = "safetyTitle")
	private String safetyTitle;

	/**
	 * 隐患等级
	 */
   	@ApiModelProperty(value = "隐患等级", name = "hazardLevel")
	private String hazardLevel;

	/**
	 * 隐患描述
	 */
   	@ApiModelProperty(value = "隐患描述", name = "safetyDescription")
	private String safetyDescription;

	/**
	 * 隐患发现时间
	 */
   	@ApiModelProperty(value = "隐患发现时间", name = "discoverTime")
	private Date discoverTime;

	/**
	 * 隐患图片(多图 [])
	 */
   	@ApiModelProperty(value = "隐患图片(多图 [])", name = "safetyImg")
	private String safetyImg;

	/**
	 * 积分
	 */
   	@ApiModelProperty(value = "积分", name = "integral")
	private Integer integral;

	/**
	 * 状态(0:待审核 1:有效 2:无效)
	 */
   	@ApiModelProperty(value = "状态(0:待审核 1:有效 2:无效)", name = "status")
	private String status;

	public SafetyDangerRecordLabour(){ super(); }

	public SafetyDangerRecordLabour(Integer id, Integer projectId, Integer workerId, String workerName, Integer safetyTypeId, String safetyTypeName, Integer subcontractorsId, String subcontractorsName, Integer teamId, String teamName, Integer safetyInspectionId, String safetyInspectionName, String safetyTitle, String hazardLevel, String safetyDescription, Date discoverTime, String safetyImg, Integer integral, String status) {
		this.id = id;
		this.projectId = projectId;
		this.workerId = workerId;
		this.workerName = workerName;
		this.safetyTypeId = safetyTypeId;
		this.safetyTypeName = safetyTypeName;
		this.subcontractorsId = subcontractorsId;
		this.subcontractorsName = subcontractorsName;
		this.teamId = teamId;
		this.teamName = teamName;
		this.safetyInspectionId = safetyInspectionId;
		this.safetyInspectionName = safetyInspectionName;
		this.safetyTitle = safetyTitle;
		this.hazardLevel = hazardLevel;
		this.safetyDescription = safetyDescription;
		this.discoverTime = discoverTime;
		this.safetyImg = safetyImg;
		this.integral = integral;
		this.status = status;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public Integer getWorkerId() {
		return workerId;
	}

	public void setWorkerId(Integer workerId) {
		this.workerId = workerId;
	}

	public String getWorkerName() {
		return workerName;
	}

	public void setWorkerName(String workerName) {
		this.workerName = workerName;
	}

	public Integer getSafetyTypeId() {
		return safetyTypeId;
	}

	public void setSafetyTypeId(Integer safetyTypeId) {
		this.safetyTypeId = safetyTypeId;
	}

	public String getSafetyTypeName() {
		return safetyTypeName;
	}

	public void setSafetyTypeName(String safetyTypeName) {
		this.safetyTypeName = safetyTypeName;
	}

	public Integer getSubcontractorsId() {
		return subcontractorsId;
	}

	public void setSubcontractorsId(Integer subcontractorsId) {
		this.subcontractorsId = subcontractorsId;
	}

	public String getSubcontractorsName() {
		return subcontractorsName;
	}

	public void setSubcontractorsName(String subcontractorsName) {
		this.subcontractorsName = subcontractorsName;
	}

	public Integer getTeamId() {
		return teamId;
	}

	public void setTeamId(Integer teamId) {
		this.teamId = teamId;
	}

	public String getTeamName() {
		return teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}

	public Integer getSafetyInspectionId() {
		return safetyInspectionId;
	}

	public void setSafetyInspectionId(Integer safetyInspectionId) {
		this.safetyInspectionId = safetyInspectionId;
	}

	public String getSafetyInspectionName() {
		return safetyInspectionName;
	}

	public void setSafetyInspectionName(String safetyInspectionName) {
		this.safetyInspectionName = safetyInspectionName;
	}

	public String getSafetyTitle() {
		return safetyTitle;
	}

	public void setSafetyTitle(String safetyTitle) {
		this.safetyTitle = safetyTitle;
	}

	public String getHazardLevel() {
		return hazardLevel;
	}

	public void setHazardLevel(String hazardLevel) {
		this.hazardLevel = hazardLevel;
	}

	public String getSafetyDescription() {
		return safetyDescription;
	}

	public void setSafetyDescription(String safetyDescription) {
		this.safetyDescription = safetyDescription;
	}

	public Date getDiscoverTime() {
		return discoverTime;
	}

	public void setDiscoverTime(Date discoverTime) {
		this.discoverTime = discoverTime;
	}

	public String getSafetyImg() {
		return safetyImg;
	}

	public void setSafetyImg(String safetyImg) {
		this.safetyImg = safetyImg;
	}

	public Integer getIntegral() {
		return integral;
	}

	public void setIntegral(Integer integral) {
		this.integral = integral;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", workerId=" + workerId +
				", workerName='" + workerName + '\'' +
				", safetyTypeId=" + safetyTypeId +
				", safetyTypeName='" + safetyTypeName + '\'' +
				", subcontractorsId=" + subcontractorsId +
				", subcontractorsName='" + subcontractorsName + '\'' +
				", teamId=" + teamId +
				", teamName='" + teamName + '\'' +
				", safetyInspectionId=" + safetyInspectionId +
				", safetyInspectionName='" + safetyInspectionName + '\'' +
				", safetyTitle='" + safetyTitle + '\'' +
				", hazardLevel='" + hazardLevel + '\'' +
				", safetyDescription='" + safetyDescription + '\'' +
				", discoverTime=" + discoverTime +
				", safetyImg='" + safetyImg + '\'' +
				", integral=" + integral +
				", status='" + status + '\'' +
				'}';
	}
}
